package com.itheima.mybatis.mapper;

import com.itheima.mybatis.bean.Student;

import java.util.List;

public interface StudentMapper {

    List<Student> findAll();

    Student findById(Integer id);

    int insert(Student stu);

    int delete(Integer id);

    int update(Student stu);
}
